Skip to content

fix: capture bound function result in instrumentDO#212

Open
grrowl wants to merge 1 commit intoevanderkoogh:mainfrom
grrowl:fix-do-binding
Open

fix: capture bound function result in instrumentDO#212
grrowl wants to merge 1 commit intoevanderkoogh:mainfrom
grrowl:fix-do-binding

Conversation

@grrowl
Copy link

@grrowl grrowl commented Oct 28, 2025

The bind() method returns a new bound function but the code was discarding the return value. This caused 'Illegal invocation' errors when calling Durable Object methods via RPC.

Fixes method binding for Cloudflare Workers RPC calls and this.name property access.

The bind() method returns a new bound function but the code was
discarding the return value. This caused 'Illegal invocation' errors
when calling Durable Object methods via RPC.

Fixes method binding for Cloudflare Workers RPC calls and PartyServer
.name property access.
@grrowl grrowl force-pushed the fix-do-binding branch 2 times, most recently from 042bfec to e2c9a03 Compare October 28, 2025 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant